package tianrun.ziguan.api.calculate.config.dto.request.common.list;

import io.swagger.annotations.ApiModel;

@ApiModel
public class SortedField {

    private String fieldName;

    private SortTypeEnum sortType;

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public SortTypeEnum getSortType() {
        return sortType;
    }

    public SortedField setSortType(SortTypeEnum sortType) {
        this.sortType = sortType;
        return this;
    }

    public enum SortTypeEnum {
        asc, desc
    }
}
